package com.hafiery.sdk.bluetooth.transport.adapter;

import java.util.List;

public class Files {
    private String foldername;
    private int totalcount;
    private List<RecordFile> filelist;

    public Files() {
    }

    public Files(String foldername, int totalcount, List<RecordFile> filelist) {
        this.foldername = foldername;
        this.totalcount = totalcount;
        this.filelist = filelist;
    }

    public String getFoldername() {
        return foldername;
    }

    public void setFoldername(String foldername) {
        this.foldername = foldername;
    }

    public int getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(int totalcount) {
        this.totalcount = totalcount;
    }

    public List<RecordFile> getFilelist() {
        return filelist;
    }

    public void setFilelist(List<RecordFile> filelist) {
        this.filelist = filelist;
    }


    public class RecordFile {
        private String name;
        private long timestamp;
        private long size;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }

        public long getSize() {
            return size;
        }

        public void setSize(long size) {
            this.size = size;
        }

    }
}
